<?php

class DefaultController extends Controller
{
	public function filters()
	{
		return array(
			'rights', // perform access control for CRUD operations
		);
	}
	public function init(){
		parent::init();
		Yii::app()->theme = 'admincp';
		$this->layout = '//layouts/admincp';
	}
	public function actionIndex()
	{	
		$this->pageTitle = "Danh sách đơn hàng.";
		$this->render('index');
	}
}